-
Notifications
You must be signed in to change notification settings - Fork 176
Add build_environment directive to framework #556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
For more genericity, is it possible to use Is the script run in a context where it can evaluate |
I thought about this, I think it should work, as the variables that are exported when calling the source script are available during the execution. Will make a test and amend the man page if it works. |
|
I confirm I'll merge this once the tests are successfully executed. |
|
Doh, Github is DDOSing Canonical: |
Implements #555.
Add a new global
build_environmentdirective, that can contain a path to a file that is sourced in the DKMS shell when building modules. This allows to specify arbitrary directories and settings for custom compilers.Test the whole thing by enabling full test on Oracle Linux.
On Oracle Linux 8 & 9, the UEK kernel variant is compiled with GCC from a software collection; so run the whole set of tests (that otherwise would be identical to the AlmaLinux ones) using the
build_environmentdirective, the GCC software collection script and the UEK kernel.On Oracle Linux 10, just use the UEK kernel which is compiled with the default system compiler.